package com.xjgc.model.entity.fss;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 差旅报销单
 *
 * @author: 小逗号
 * @date: 2023/8/17
 * @description:
 * @since:
 */
@Data
@TableName(value = "zxj_fss_clbxd")
public class ZxjFssClbxd implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 报销单号
     */
    @XStreamAlias("BLINO")
    @TableId(value = "blino")
    private String blino;
    /**
     * 报销人人资编号
     */
    @XStreamAlias("REIMBURE_USER_NO")
    @TableField(value = "reimbure_user_no")
    private String reimbureUserNo;
    /**
     * 报销日期
     */
    @XStreamAlias("REIMBUSE_DATE")
    @TableField(value = "reimbuse_date")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reimbuseDate;
    /**
     * 所属项目（WBS编码）
     */
    @XStreamAlias("WBS_NO")
    @TableField(value = "wbs_no")
    private String wbsNo;
    /**
     * 名称（凭证抬头）
     */
    @XStreamAlias("VOUCHER_NAME")
    @TableField(value = "voucher_name")
    private String voucherName;
    /**
     * 差旅费总额
     */
    @XStreamAlias("TRIP_ALL_AMOUNT")
    @TableField(value = "trip_all_amount")
    private BigDecimal tripAllAmount;
    /**
     * 差旅费净值
     */
    @XStreamAlias("TRIP_NET_AMOUNT")
    @TableField(value = "trip_net_amount")
    private BigDecimal tripNetAmount;
    /**
     * 税费
     */
    @XStreamAlias("TAX_AMOUNT")
    @TableField(value = "tax_amount")
    private BigDecimal taxAmount;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*内部订单号*/
   @TableField(value = "innerorder")
   private  String innerorder;

}
